<script setup>

import $axios from '../utils/axios'

const callbackemp = async() => {
        const path = "/emp/list";
        const data = await $axios.post(path);
        console.log(data.data[3].ename);
}

</script>

<template>
<div>
    <button @click="callbackemp">获取用户列表信息</button>
</div>
</template>

<style scoped>

</style>